---
title: LangGraph SDK
sidebarTitle: LangGraph SDK
---

LangGraph Platform provides both a Python SDK for interacting with [LangGraph Server](/langgraph-platform/langgraph-server).

<Tip>
**Python SDK reference**
For detailed information about the Python SDK, see [Python SDK reference docs](/langgraph-platform/python-sdk).
</Tip>

## Installation

You can install the packages using the appropriate package manager for your language:

<Tabs>
    <Tab title="Python">
    ```bash
    pip install langgraph-sdk
    ```
    </Tab>
    <Tab title="JS">
    ```bash
    yarn add @langchain/langgraph-sdk
    ```
    </Tab>
</Tabs>

## Python sync vs. async

The Python SDK provides both synchronous (`get_sync_client`) and asynchronous (`get_client`) clients for interacting with LangGraph Server:

<Tabs>
    <Tab title="Sync">
    ```python
    from langgraph_sdk import get_sync_client

    client = get_sync_client(url=..., api_key=...)
    client.assistants.search()
    ```
    </Tab>
    <Tab title="Async">
    ```python
    from langgraph_sdk import get_client

    client = get_client(url=..., api_key=...)
    await client.assistants.search()
    ```
    </Tab>
</Tabs>

## Learn more

* [Python SDK Reference](/langgraph-platform/python-sdk)
* [LangGraph CLI API Reference](/langgraph-platform/cli)
* [JS/TS SDK Reference](/langgraph-platform/js-ts-sdk)
